Operation void
sleep (long millis), in Class Thread
Documentation
* Causes the currently executing thread to sleep (temporarily cease
* execution) for the specified number of milliseconds. The thread
* does not lose ownership of any monitors.
*
* @param millis the length of time to sleep in milliseconds.
* @exception InterruptedException if another thread has interrupted
* this thread.
* @see java.lang.Object#notify()
* @since JDK1.0
Concurrency | Sequential | Export Control | PublicAccess |
Property Settings
Java
Static | True | Native | True |
Abstract | False | Final | False |
Synchronized | False | | |